package excercise;

import java.util.Scanner;

public class EX05_Q45 {

	public static void main(String[] args) {

	Scanner sc = new Scanner(System.in);
	int[] x = new int[6];
	int[] y = new int[11];
		
	for ( int a = 1; a <=10; ++a ){
		System.out.println( "Please enter 10 number - conunt " + a );
		if ( a <= 5 ){
			x[a] = sc.nextInt();
		}
		else {
			y[a] = sc.nextInt();
		}
		
	}
	
	System.out.println( "Your numbers forward");
	for ( int a = 1; a <=5; ++a ) {
		if ( a == 5){
			System.out.print( "      " + x[a] + " " );
			System.out.println( y[a+5] );
			
		}
		else {
		System.out.print( x[a] + " " );
		System.out.println( y[a+10] );
		}
	}

		
		
		
	} //main

} // class
